package com.prs.crm.service.crm.impl;

import java.util.List;

import com.prs.crm.dao.crm.DispatchBookDao;
import com.prs.crm.domain.crm.Dispatch;
import com.prs.crm.domain.crm.DispatchBook;
import com.prs.crm.service.crm.DispatchBookService;
import com.prs.crm.service.impl.BaseServiceImpl;

public class DispatchBookServiceImpl extends
		BaseServiceImpl<DispatchBook, DispatchBookDao> implements
		DispatchBookService {

	@Override
	public List<DispatchBook> getAdressToDispatchBook(String adress) {
		// TODO Auto-generated method stub
		return this.getDao().getAdressToDispatchBook(adress);
	}

	@Override
	public List<DispatchBook> getDateToDispatchBook(String transportDate) {
		// TODO Auto-generated method stub
		return this.getDao().getDateToDispatchBook(transportDate);
	}

	@Override
	public List<DispatchBook> getNameToDispatchBook(String name) {
		// TODO Auto-generated method stub
		return this.getDao().getNameToDispatchBook(name);
	}

	@Override
	public List<DispatchBook> getNumToDispatchBook(String num) {
		// TODO Auto-generated method stub
		return this.getDao().getNumToDispatchBook(num);
	}

	@Override
	public List<DispatchBook> getNumpageToDispatchBook(String num, String page) {
		// TODO Auto-generated method stub
		return this.getDao().getNumpageToDispatchBook(num, page);
	}

	@Override
	public List<DispatchBook> getBookToByNameandByAdress(String name,
			String adress) {
		// TODO Auto-generated method stub
		return this.getDao().getBookToByNameandByAdress(name, adress);
	}

	@Override
	public DispatchBook getDispatchBook(Dispatch dispatch) {
		// TODO Auto-generated method stub
		return this.getDao().getDispatchBook(dispatch);
	}

	

}
